//
//  HelloWorldLayer.h
//  BeatPong
//
//  Created by Gabriel Lumbi on 12-08-16.
//  Copyright __MyCompanyName__ 2012. All rights reserved.
//

// When you import this file, you import all the cocos2d classes
#import "cocos2d.h"

@class PaddleHitEffect, Paddle, Ball;

// HelloWorldLayer
@interface GameLayer : CCLayer
{
    CGSize screenSize;
    float screenDiagonalSquared;
    ccTime currentTime;
    ccColor4F enemyColor;
    ccColor4F allyColor;
    ccColor4F neutralColor;
    
    CCLabelTTF *lblEnemyScore;
    CCLabelTTF *lblAllyScore;
    
    Paddle *yourPaddle;
    Paddle *otherPaddle;
    Ball *ball;
    NSArray *paddleHitEffects;
    NSArray *wallHitEffects;
    
    int enemyScore;
    int allyScore;
}

// returns a CCScene that contains the GameLayer as the only child
+(CCScene *) scene;

@end
